﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace iAts
{
    public class AtsClient
    {
        protected TcpClient _tcpClient = null;

        /// <summary>
        /// Data received from ATS
        /// </summary>
        public byte[] ReceivedBytes { get; set; }

        public int TotalBytesReceived { get; set; }

        public const int BUFFER_SIZE = 1024;

        public TcpClient TcpClient { get { return _tcpClient; } }

        public AtsClient(TcpClient tcpClient)
        {
            _tcpClient = tcpClient;
            ReceivedBytes = new byte[BUFFER_SIZE];
            TotalBytesReceived = 0;
        }

    }
}
